package com.google.android.apps.wakemewhere.util;

public class Preconditions {
	public static void nonNull(Object value) {
		check(value != null);
	}
	
	public static void check(boolean condition) {
		if (!condition) {
			throw new IllegalArgumentException("Precondition failed");
		}
	}
}
